package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    public Member findByTelephone(String telephone);

    public void add(Member member);

    public List<Integer> findMemberCountByMonths(List<String> months);
    //根据病情查询信息
    PageResult findIllnessMember(QueryPageBean pageBean);

    //根据id删除病人该项信息
   void delectByIllnessIdAndMemberId(String id, String memberId);

    //lk 根据客户患病情况查询客户的风险评估情况
    PageResult findPage4MenberRisk(QueryPageBean pageBean);
    //lk根据id查询所有会员相关的疾病信息作回显
    Map<String,Object> findMemberEcho(Integer id);
}
